package com.origin.onlinesys.web.controllers.modules.home;

import com.origin.onlinesys.common.controllers.BaseController;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * Created by origin on 15-4-7.
 */
@Controller
@RequestMapping(value = "/userIndex")
public class UserIndexController extends BaseController {
    @RequestMapping(value = "/userList")
    public String user(){
        return "pages/system/user";
    }

    @RequestMapping(value = "/addUser")
    public String addUser(){
        return "pages/system/addUser";
    }

    @RequestMapping(value = "/userInfo")
    public String userInfo(){
        return "pages/system/userInfo";
    }

    @RequestMapping(value = "/updateUser")
    public String updateUser(){
        return "pages/system/updateUser";
    }

    @RequestMapping(value = "/updateRole")
    public String updateRole(){
        return "pages/system/updateRole";
    }

    @RequestMapping(value = "/addRole")
    public String addRole(){
        return "pages/system/addRole";
    }

}
